/**
 * Created by P0084519 on 12/6/2017.
 */
import environment from '../environment'
import fetchService from './fetch'
import methods from './methods'

let commonService = {
    getPostsData: (params) => {
        var baseUrl = environment.getEnvironment().services.customService.url.getPostsData,
            url = methods.urlFormat(baseUrl);

        return fetchService.fetch(url, "GET");
    }
};
export default commonService;
